<!--
  描述：触发事件查询条件
  @author xujie
  @since 2021-03-17 13:55:07
  @modifier zhangyao 2021/04/24 修改查询条件
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<div class="layui-card-body" th:fragment="query">

    <!--每个zmn-form-item一行，每行4列
        支持页面自适应，1280分辨率下不折行
        -->
    <div class="zmn-form-item">

        <div class="item-inline">
            <label class="inline-label">部门：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <div id="deptId"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="item-inline">
            <label class="inline-label">责任人：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="objMasterName" lay-filter="objMasterName" placeholder="责任人" autocomplete="off" class="layui-input" th:value="${vo.objMasterName}"/>
                    </div>
                </div>
            </div>
        </div>
        <div class="item-inline">
            <label class="inline-label">事件：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="eventName" placeholder="事件" autocomplete="off" class="layui-input" th:value="${vo.eventName}"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="zmn-form-item">
        <div class="item-inline">
            <label class="inline-label">监控周期：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <input type="text" name="timeSearch" th:value="${vo.timeSearch}" id="timeSearch" lay-filter="timeSearch" placeholder="监控周期" autocomplete="off" class="layui-input" maxlength="45"/>
                    </div>
                </div>
            </div>
        </div>
        <div class="item-inline">
            <label class="inline-label">预警等级：</label>
            <div class="inline-box">
                <div class="inline-box-cc">
                    <div class="box-input-inline">
                        <select name="levelId" lay-search="">
                            <option value="">全部</option>
                            <option th:each="item:${T(com.zmn.brs.common.enums.WronLevelEnum).values()}" th:selected="${item.levelId==vo.levelId}" th:value="${item.levelId}" th:text="${item.levelName}"></option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="item-inline">
            <div class="layui-btn-container" style="margin-left: 10px;">
                <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="zmn-form-submit"><i class="layui-icon">&#xe615;</i></button>
                <button type="button" class="layui-btn layui-btn-sm layui-btn-primary zmn-form-cancel"><i class="layui-icon">&#xe669;</i></button>
                <button class="layui-btn d-button" lay-submit lay-filter="query-export" id="query-export"
                        style="display: none">导出
                </button>
            </div>
        </div>
    </div>
</div>
